﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Commont.Domains.ScratchTheFat
{
    /// <summary>
    /// 销售称重
    /// </summary>
    public class SalesWeighing
    {
        [Key]
        /// <summary>
        /// 销售称重Id
        /// </summary>
        public int SalesWeighingID { get; set; }
        /// <summary>
        /// 商品批号
        /// </summary>
        public string ProductNo { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public int RepositoryID { get; set; }
        /// <summary>
        /// 商品代号
        /// </summary>
        public int ProductCode { get; set; }
        /// <summary>
        /// 称重件数
        /// </summary>
        public int WeightNum { get; set; }
        /// <summary>
        /// 皮重
        /// </summary>
        public decimal Tare { get; set; }
        /// <summary>
        /// 净重
        /// </summary>
        public decimal NetWeight { get; set; }
        /// <summary>
        /// 均重
        /// </summary>
        public decimal AverageWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 磅秤id
        /// </summary>
        public int ScaleId { get; set; }
        /// <summary>
        /// 进场编号
        /// </summary>

        public string ApproachNo { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        public int ClientID { get; set; }
        /// <summary>
        /// 调整商品
        /// </summary>
        public int Adjust { get; set; }
        /// <summary>
        /// 称重时间
        /// </summary>
        public DateTime WeigheTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
    }
}
